using System;
using System.Collections.Generic;
using System.Text;
using System.Xml.Serialization;

namespace RaisingStudio.Data.Common.Configuration
{
    [XmlRoot("definition")]
    public class Definition
    {
        [NonSerialized]
        private string _name;

        [XmlAttribute("name")]
        public string Name
        {
            get { return _name; }
            set { _name = value; }
        }

        [NonSerialized]
        private string _resource;

        [XmlAttribute("resource")]
        public string Resource
        {
            get { return _resource; }
            set { _resource = value; }
        }

        [NonSerialized]
        private string _embedded;

        [XmlAttribute("embedded")]
        public string Embedded
        {
            get { return _embedded; }
            set { _embedded = value; }
        }

        [NonSerialized]
        private string _url;

        [XmlAttribute("url")]
        public string Url
        {
            get { return _url; }
            set { _url = value; }
        }

        [NonSerialized]
        private System.Xml.XmlElement _xmlElement;

        public System.Xml.XmlElement XmlElement
        {
            get { return _xmlElement; }
            set { _xmlElement = value; }
        }
    }
}
